{template 'common/header'}
<ul class="nav nav-tabs">
    <li><a href="{php echo $this->createWebUrl('fourhb')}">红包设置</a></li>
    <li class="active"><a href="{php echo $this->createWebUrl('fourhblog')}">红包领取记录</a></li>
    <li><a href="{php echo $this->createWebUrl('fourhbwith')}">企业付款提现记录</a></li>
    <li><a href="{php echo $this->createWebUrl('fourhbwith2')}">收款码提现记录</a></li>
    <li><a href="{php echo $this->createWebUrl('payset')}">支付证书</a></li>
</ul>
<div class="panel panel-default">
    <div class="panel-heading" style="color:red;">收益类型为“每日红包”时，无收红包人昵称与头像</div>
    <div class="panel-body">
       <form action="" method="post" class="form-horizontal form">
       <div class="alert alert-info url_div hide" role="alert">
       </div>
            <input type="hidden" name="storeid" value="">
            <div class="table-responsive panel-body">
                <table class="table table-hover">
                    <thead class="navbar-inner">
                    <tr>
                        <th>uid</th>
                        <th>发红包人</th>
                        <th>头像</th>                       
                        <th>收红包人</th>
                        <th>头像</th>
                        <th>红包金额</th>
                        <th>收益类型</th>
                        <th>时间</th>
                    </tr>
                    </thead>
                    <tbody id="level-list">
                    {loop $list $item}
                    <tr>
                         <td><div class="type-parent">{$item['user_id']}</div></td>
                         <td><div class="type-parent">{$item['fnick_name']}</div></td>
                         <td><div class="type-parent"><img src="{php echo tomedia($item['fhead_pic']);}" width="50" height="50" /></div></td>
                         <td><div class="type-parent">{$item['snick_name']}</div></td>
                         <td><div class="type-parent"><img src="{php echo tomedia($item['shead_pic']);}" width="50" height="50" /></div></td>
                         <td><div class="type-parent">{$item['hbmoney']}</div></td>
                         <td>
                            {if $item['type'] == 1}
                            <span class="label label-success">每日红包</span>
                            {else}
                            <span class="label label-default">邀请奖励</span>
                            {/if}
                         </td>
                         <td><div class="type-parent">{$item['time']}</div></td>
                    </tr>
                    {/loop}
                    {if empty($list) }
	                <tr ng-if="!wechats">
	                <td colspan="12" class="text-center">暂无数据</td>
	                </tr>
	                {/if}
                    <tr>
                    <td colspan="12" style="text-align:right">{$page}</td>
                    </tr>     
                    </tbody>
                </table>  
            </div>
        </form>
    </div>
</div>
<style type="text/css">
    .hide{display: none}
</style>

{template 'common/footer'}